<body>
	<table border="1" width="100%" height="100%">
		<tr>
			<td colspan="2" height="1%">
				<div style="float:right">
					<?
						echo $mvc->user->name;
						echo ' <a href="'.$this->base_url.'logout">'.$mvc->tr('Logout').'</a>';
					?>
				</div>
				
				<div id="controllers">
					<?
						foreach ($this->controllers as $k => $v) 
							echo '<a href="'.$v.'" >'.$v.'</a>'; 
					?>	
				</div>			
			</td>
		</tr>
		<tr>
			<td valign="top">
				Letf menu
			</td>
			
			<td style="margin:0; padding:0">
				<iframe id="iframe_content" name="iframe_content" style="width:100%; height:100%; border:0"></iframe>
			</td>
		</tr>
	</table>

	
	<script type="text/javascript">
		jQuery('#controllers a').button({mode: 'small'}).attr('target', 'iframe_content');
	</script>
</body>